minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
↳ QTRS
↳ Overlay + Local Confluence
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
G(s(x)) → MINUS(s(x), f(g(x)))
F(s(x)) → F(x)
MINUS(s(x), s(y)) → MINUS(x, y)
F(s(x)) → G(f(x))
G(s(x)) → G(x)
F(s(x)) → MINUS(s(x), g(f(x)))
G(s(x)) → F(g(x))
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
G(s(x)) → MINUS(s(x), f(g(x)))
F(s(x)) → F(x)
MINUS(s(x), s(y)) → MINUS(x, y)
F(s(x)) → G(f(x))
G(s(x)) → G(x)
F(s(x)) → MINUS(s(x), g(f(x)))
G(s(x)) → F(g(x))
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
MINUS(s(x), s(y)) → MINUS(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
MINUS(s(x), s(y)) → MINUS(x, y)
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
MINUS(s(x), s(y)) → MINUS(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
F(s(x)) → F(x)
F(s(x)) → G(f(x))
G(s(x)) → G(x)
G(s(x)) → F(g(x))
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(s(x)) → F(x)
F(s(x)) → G(f(x))
G(s(x)) → G(x)
Used ordering: Polynomial interpretation [25]:
G(s(x)) → F(g(x))
POL(0) = 1
POL(F(x1)) = 1 + x1
POL(G(x1)) = x1
POL(f(x1)) = 1 + x1
POL(g(x1)) = x1
POL(minus(x1, x2)) = x1
POL(s(x1)) = 1 + x1
minus(s(x), s(y)) → minus(x, y)
minus(x, 0) → x
f(s(x)) → minus(s(x), g(f(x)))
f(0) → s(0)
g(s(x)) → minus(s(x), f(g(x)))
g(0) → 0
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
G(s(x)) → F(g(x))
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
f(0) → s(0)
f(s(x)) → minus(s(x), g(f(x)))
g(0) → 0
g(s(x)) → minus(s(x), f(g(x)))
minus(x0, 0)
minus(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))